package definitions;


public class Conflict {
	public String item1;
	public String item2;
	
	public Conflict(String one, String two){
		item1 = one;
		item2 = two;
	}
	
	public String toString(){
		return "Conflict between " + item1 + " and " + item2;
	}
	
	public boolean equals(Conflict o){
		return 
			(this.item1.equals(o.item1) && this.item2.equals(o.item2)) ||
			(this.item1.equals(o.item2) && this.item2.equals(o.item1));
	}
}
